package com.woorigil.social.domain.stats;

import java.util.ArrayList;
import java.util.List;

public class ActionStats {
	public List<Data> datas = new ArrayList<Data>();

	public void addData(Data data) {
		if (datas == null) {
			datas = new ArrayList<Data>();
		}
		datas.add(data);
	}
	
	public static class Data {
		private String date;
		private int userCount;
		private int landingCount;
		
		public Data(String date, int userCount, int landingCount) {
			this.date = date;
			this.userCount = userCount;
			this.landingCount = landingCount;
		}

		public String getDate() {
			return date;
		}

		public void setDate(String date) {
			this.date = date;
		}

		public int getUserCount() {
			return userCount;
		}

		public void setUserCount(int userCount) {
			this.userCount = userCount;
		}

		public int getLandingCount() {
			return landingCount;
		}

		public void setLandingCount(int landingCount) {
			this.landingCount = landingCount;
		}
	}

	public List<Data> getDatas() {
		return datas;
	}

	public void setDatas(List<Data> datas) {
		this.datas = datas;
	}
}
